package com.haiyu.manager.service;

import com.haiyu.manager.pojo.Message;
import com.haiyu.manager.response.PageDataResult;

import java.util.Map;

public interface MessageService {
    PageDataResult getMessageList( Integer pageNum, Integer pageSize);
    Map<String,Object> updateMessage(Message message);
    Map<String, Object> delMessage(Integer messageId,Integer textStatus);
    Message getMessageById(Integer messageId);
    Map<String, Object> recoverMessage(Integer messageId,Integer textStatus);
    Map<String,Object> addMessage(Message message);
}
